﻿using ALMDDD.Domain.Core.Models;
using System;
using System.Collections.Generic;
using System.Text;

namespace ALMDDD.Domain.Model
{
    public class Sys_Role : Entity
    {
        public Sys_Role() { }
        public Sys_Role(Guid id,
            string roleName,
            string roleCode,
            string roleType,
            string context,
            DateTime trxTime,
            string trxUser,
            string trxName)
        {
            Id = id;
            RoleName = roleName;
            RoleCode = roleCode;
            RoleType = roleType;
            Context = context;
            TrxTime = trxTime;
            TrxUser = trxUser;
            TrxName = trxName;
        }
        /// <summary>
        /// 角色名
        /// </summary>
        public string RoleName { get; private set; }
        /// <summary>
        /// 角色代码
        /// </summary>
        public string RoleCode { get; private set; }
        /// <summary>
        /// 角色类型
        /// </summary>
        public string RoleType { get; private set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Context { get; private set; }
       
    }
}
